package com.heima.behavior.controlle;


import com.heima.behavior.dto.UnlikesBehaviorDto;
import com.heima.behavior.service.IApUnlikesBehaviorService;
import com.heima.common.dto.ResponseResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/unlikes_behavior")
@Api(tags = "APP不喜欢行为表接口")
public class ApUnlikesBehaviorController {

    @Autowired
    private IApUnlikesBehaviorService apUnlikesBehaviorServiceV2;

    @PostMapping
    /**
     * @Name:不喜欢文章的接口
     */
    public ResponseResult unlikesBehavior0(@RequestBody UnlikesBehaviorDto dto)
    {
        return apUnlikesBehaviorServiceV2.unlikesBehavior0(dto);
    }


}
